package com.qiang.test.domain;

//管理人员（工号，姓名，性别，手机号）
//要求：
//
//1.包括所涉及的属性
//
//2.要生成getter()&setter()方法
//
//3.要包含无参和带全部参数的构造方法
//
//4.要有相应的toString()方法，用于输出相关属性的值
public class Manager {
    private String id;
    private String name;
    private String gender;
    private String phone;

    public Manager() {
    }

    public Manager(String id, String name, String gender, String phone) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.phone = phone;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return id + "\t" + name + "\t"+gender + "\t"+phone;
    }
}
